import { Module } from '@nestjs/common';
import { SyncController } from './index.controller';
import { SequelizeModule } from '@nestjs/sequelize';
import { UserInfo } from '@/old_models/user_info.model';
import { SyncService } from './index.service';
import { User } from '@/models/user.model';
import { Resume } from '@/models/resume.model';
import { Content } from '@/models/content.model';
import { Entry } from '@/models/entry.model';
import { Customization } from '@/models/customization.model';

@Module({
  imports: [
    SequelizeModule.forFeature([UserInfo], 'resume'),
    SequelizeModule.forFeature([User, Resume, Content, Entry, Customization]),
  ],
  controllers: [SyncController],
  providers: [SyncService],
})
export class SyncModule {}
